package com.ssy.lingxi.marketing.model.bo;

import com.ssy.lingxi.common.constant.marketing.BelongTypeEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * 平台活动BO
 * @author yzc
 * @version 2.0.0
 * @date 2021/9/1
 */
@Getter
@Setter
public class PlatformActivityBO extends ActivityBO {

    private static final long serialVersionUID = -1757230153117289725L;

    public PlatformActivityBO(Long id, Integer activityType, ActivityDefinedBO activityDefined, String activityName, Long startTime, Long endTime, String suitableMember, String suitableMemberType, Long memberId, Long roleId) {
        super(id, BelongTypeEnum.PLATFORM.getCode(), activityType, activityDefined, activityName, startTime, endTime, memberId, roleId);
        this.suitableMember = suitableMember;
        this.suitableMemberType = suitableMemberType;
    }

    /**
     * 适用新老会员
     */
    private String suitableMember;

    /**
     * 适用会员类型
     */
    private String suitableMemberType;
}
